package com.fund.client.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fund.api.entity.TradeOrder;
import com.fund.client.pojo.entity.BankCard;
import com.fund.common.pojo.Result;

import java.util.List;

public interface BankCardService extends IService<BankCard> {
    Result<Boolean> addBankCard(BankCard bankCard);

    Result<List<BankCard>> getByClientId(Long clientId);

    Result<Boolean> updateBalanceByOrders(List<TradeOrder> tradeOrderList);
}
